package com.zhiyou.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zhiyou.model.FYParent;

public interface ParentMapper {

		//家长登录
		FYParent loginParent(@Param("parent_phone")String partent_phone,@Param("parent_password")String partent_password);
		//查询全部家长
		List<FYParent> selectAllParent();
		//根据id查询家长
		FYParent selectByParentid(@Param("parent_id")Integer parent_id);
		//修改登陆密码(家长)
		void updatePpass(FYParent parent);
		//修改手机号(家长)
		void updatePpho(FYParent parent);
}
